<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>修改员工信息</title>
  <link rel="stylesheet" href="styles.css">
</head>
<body>
  <header>
    <h1>修改员工信息</h1>
    <nav>
      <ul>
        <li><a href="index.jsp">首页</a></li>
        <li><a href="getList.action">系统管理</a></li>
        <li><a href="customer-management.jsp">客户信息管理</a></li>
        <li><a href="car-management.jsp">汽车信息管理</a></li>
        <li><a href="employee-management.jsp">员工信息管理</a></li>
        <li><a href="sales-management.jsp">销售信息管理</a></li>
      </ul>
    </nav>
  </header>

  <div class="content">
    <h2>请输入员工信息</h2>
<form action="updateEmployee.action" method="post">
    <input type="hidden" id="employee.employeeId" name="employee.employeeId" value="${employee.employeeId}">
    <label for="employeeName">姓名</label>
    <input type="text" id="employee.employeeName" name="employee.employeeName" value="${employee.employeeName}" required><br>

    <label for="version">性别</label>
    <input type="text" id="employee.gender" name="employee.gender" value="${employee.gender}" required><br>

    <label for="birthDate">生日</label>
    <input type="text" id="employee.birthDate" name="employee.birthDate" value="${employee.birthDate}" required><br>

    <label for="phone">电话</label>
    <input type="text" id="employee.phone" name="employee.phone" value="${employee.phone}" required><br>

    <label for="address">职位</label>
    <input type="text" id="employee.position" name="employee.position" value="${employee.position}" required><br>

    <label for="enterDate">入职时间</label>
    <input type="text" id="employee.enterDate" name="employee.enterDate" value="${employee.enterDate}" required><br>
    
    <label for="leaveDate">离职时间</label>
    <input type="text" id="employee.leaveDate" name="employee.leaveDate" value="${employee.leaveDate}" required><br>

    <button type="submit">提交</button>
</form>

  </div>
</body>
</html>
